/*
 * terminator_despacho.cpp
 *
 */


#include "../middleware/CommunicationDespacho.h"
#include "../middleware/CommunicationRobot16.h"
#include "../middleware/CommunicationAdpt.h"
#include "../middleware/CommunicationVendedor.h"
#include "../channel_common/ChannelInterface.h"
#include "../control/clienteCommon.h"

int main(int argc, char**argv)
{
	std::string hostName = "cliente_pc";

	ipc::Sequence::destroy(CLIENTEID_SEQUENCE_PATH,CLIENTEID_SEQUENCE_KEY);

	channel::ChannelInterface::disconnectChannel(hostName);
	channel::ChannelInterface::destroy(hostName);

	middleware::CommunicationVendedor::destroy(middleware::CommunicationVendedor::CLIENTE,hostName);
	middleware::CommunicationDespacho::destroy(middleware::CommunicationDespacho::CLIENTE,hostName);
}
